package com.sbeam.service;

import com.sbeam.pojo.Games;
import com.sbeam.vo.GameVO;
import com.sbeam.vo.PageResult;

import java.util.List;


public interface GamesService {
    List<Games> getGamesList();

    int updateGamesStatus(Games games);

    PageResult searchByName(PageResult pageResult);

    Games getGamesById(Integer id);

    int updateGamesById(Games games);

    int deleteGamesById(Integer id);

    int addGames(Games games);

    GameVO getGameModel(Integer id,String username);

    //按游戏名分页
    PageResult getGamesList(PageResult pageResult);

}
